package net.sunofbeaches.services;

import net.sunofbeaches.pojo.Looper;
import net.sunofbeaches.response.ResponseResult;
import org.springframework.stereotype.Service;

import javax.transaction.Transactional;

@Service
@Transactional
public interface ILoopService {
    ResponseResult addLoop(Looper looper);

    ResponseResult updateLoop(String lookId, Looper looper);

    ResponseResult deleteLoop(String loopId);

    ResponseResult listLoops();

    ResponseResult getLoop(String loopId);
}
